golang.org/x/tools/txtar.openFile.data (field)

9 uses

	golang.org/x/tools/txtar (current package)
		fs.go#L146: 		return &openFile{fileinfo: n.fileinfo, data: data}, nil
		fs.go#L156: 		return slices.Clone(file.data), nil
		fs.go#L183: 	data   []byte
		fs.go#L192: 	if f.offset >= int64(len(f.data)) {
		fs.go#L198: 	n := copy(b, f.data[f.offset:])
		fs.go#L210: 		offset += int64(len(f.data))
		fs.go#L212: 	if offset < 0 || offset > int64(len(f.data)) {
		fs.go#L220: 	if offset < 0 || offset > int64(len(f.data)) {
		fs.go#L223: 	n := copy(b, f.data[offset:])